import org.redkale.annotation.NonBlocking;
import org.redkale.boot.Application;
import org.redkale.net.http.RestMapping;
import org.redkale.net.http.RestService;
import org.redkale.service.AbstractService;

@NonBlocking
@RestService(name = " ", repair = false)
public class BenchRed extends AbstractService {
	private static final byte[] helloBytes = "Hello, world!".getBytes();

	@SuppressWarnings("unused")
	@RestMapping(auth = false)
	public byte[] plaintext() {
		return helloBytes;
	}

	public static void main(String[] args) throws Exception {
		Application.main(args);
	}
}
